.box {
    height: 200vh;
    background-color: #EEEEEE;

    .adsItem {
        height: 100%;
        width: 100%;
        margin-bottom: 12px;
        display: block;
        background-color: #F6F6F6;

        ins {
            display: block;
            width: 100%;
            height: 100%;
            background-color: #F6F6F6;
        }
    }

}



.content {
    .center {
        display: flex;
        flex-direction: row;
        justify-content: space-around;
        align-items: baseline;

        .left {
            width: 70%;
            box-sizing: border-box;

            .from_list {
                padding: 0 24px;
                background-color: #fff;
                // display: flex;
                // justify-content: center;
                box-shadow: 0 0 10px #8a898959;
            }

            .question_item {
                box-shadow: none;
            }

            .next_list {
                padding: 12px;
            }
        }

        .right {
            width: 28%;

            .most_list {
                width: 100%;
                box-shadow: 0 0 10px #8a898959;
                padding: 12px;
                box-sizing: border-box;
                border-radius: 10px;
                background-color: #fff;

                .most_title {
                    font-size: 16px;
                    padding-bottom: 12px;
                }

                ul {
                    width: 100%;
                    display: block;
                    flex-direction: column;

                    .most_list_item {
                        margin-bottom: 16px;
                        box-shadow: 0 0 10px #8a898959;
                        border-radius: 10px;
                        background-color: #fff;
                        overflow: hidden;

                        .item_img {
                            width: 100%;
                            overflow: hidden;

                            img {
                                width: 100%;
                                object-fit: cover;
                            }

                            &:hover img {
                                transform: scale(1.1);
                            }
                        }

                        .item_title {
                            font-size: 13px;
                            font-weight: bold;
                            padding: 5px 12px;
                        }
                    }


                }
            }
        }
    }
}

.info {
    width: 100%;
    margin: 8px 0;
}

.question_item {
    margin-top: 16px;
    padding: 4.8px 9.6px 16px;
    border-radius: 8px;
    min-height: 120px;
    position: relative;
    box-shadow: 0 0 16px #0400002e;
}

// 0 0 .625rem #8a898959
.submit-form {
    height: 100%;
    padding-bottom: 32px;
    margin: 0 auto;
    max-width: 600px;
    background-color: #fff;
    border-radius: 8px;

    .subimt_header h1 {
        font-size: 24px;
        font-weight: bold;
        padding: 8px;
        margin: 0;
    }

    &>img {
        width: 100%;
        min-height: 128px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 0 16px #0400002e;
        margin: 8px 0 3.2px
    }

    .btnfrom {
        width: 98%;
        background: #4267b2;
        border-radius: 9.6px;
        font-size: 12px;
        font-weight: 700;
        padding: 6.78px;
        margin: 16px 0;
        animation: zy-btn-ani 0.5s linear infinite;
        cursor: pointer;
        color: #fff;
        text-align: center;
        position: relative;
    }

    @keyframes zy-btn-ani {
        0% {
            transform: translateX(10px);
        }

        50% {
            transform: translateX(0);
        }

        100% {
            transform: translateX(-10px);
        }
    }
}

.question-group {
    margin-top: 16px;
    padding: 4.8px 9.6px 16px;
    // border: 1px solid #eee;
    border-radius: 8px;
    position: relative;
    box-shadow: 0 0 16px #0400002e;

    .num_question {
        position: absolute;
        top: 0;
        left: 0;
        width: 57px;
        height: 48px;
        padding: 9.6px;
        font-size: 10px;
        background-image: url('../images/jue.png');
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;
    }
}

.question-title {
    font-size: 18px;
    margin-top: 16px;
    color: #777777;
    text-align: left;
}

.question-image {
    width: 100%;
    max-width: 600px;
    aspect-ratio: 16 / 9;
    margin: 0 auto 20px;
    display: block;
    object-fit: cover;
    border-radius: 8px;
}

.options-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 600px;
    margin: 16px 0;

    input[type="radio"] {
        display: none;
    }

    .option-item {
        display: flex;
        align-items: center;
        text-align: center;
        padding: 6.4px;
        border: 1px solid #ddd;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s ease;
        background-color: #F4F4F4;

        &.selected {
            background-color: #4267B2;
            border-color: #4267B2;

            label {
                color: #fff;
            }
        }

        label {
            font-size: 16px;
            color: #444;
            cursor: pointer;
            flex: 1;
        }
    }
}

.option-item input[type="radio"] {
    background-color: #F4F4F4;
    margin-right: 10px;
    width: 18px;
    height: 18px;
}

.option-item label {
    font-size: 16px;
    color: #444;
    cursor: pointer;
    flex: 1;
}

.submit-btn {
    margin: 32px auto 16px;
    background: #4267b2;
    padding: 9.6px 0;
    width: 240px;
    height: 56px;
    color: white;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    font-size: 16px;
    display: block;

    &:hover {
        background-color: #365899;
    }

    &:disabled {
        background-color: #4267B2;
        cursor: pointer;
        opacity: 1;
    }
}

/* 添加禁用状态的样式 */
.question-group.disabled {
    opacity: 0.5;
    pointer-events: none;
    background-color: #f5f5f5;
}

.question-group.disabled .question-title {
    color: #999;
}

/* 添加激活状态的样式 */
.question-group.active {
    // border: 1px solid #4CAF50;
    background-color: #fff;
}

/* 完成状态的样式 */
.question-group.completed {
    border: 1px solid #ddd;
    background-color: #f9f9f9;
}

//******next_list******//

.next_list {
    padding: 12px;
    border-radius: 10px;
    background-color: #fff;
    box-shadow: 0 0 10px #8a898959;

    h2 {
        font-size: 16px;
    }

    ul {
        padding: 10px 0;
        max-width: 100vw;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 16px;

        .next_list_item {
            min-height: 210px;
            height: fit-content;
            box-shadow: 0 0 10px #8a898959;
            border-radius: 10px;
            padding-bottom: 10px;
            margin-bottom: 8px;

            .item_img {
                width: 100%;
                overflow: hidden;

                img {
                    height: 144px;
                    width: 100%;
                    object-fit: cover;
                    transition: all 0.5s;
                }

                &:hover img {
                    transform: scale(1.1);
                }
            }

            .item_title {
                font-size: 13px;
                font-weight: bold;
                padding: 5px 12px;
            }
        }
    }

    .next_btn {
        height: 36px;
        width: 180px;
        border-radius: 18px;
        text-align: center;
        line-height: 36px;
        font-size: 13px;
        color: #fff;
        margin: 24px auto 0;
        background-color: #4267B2;
    }
}

@media (max-width: 1200px)and(min-width: 900px) {
    .box {
        .center {
            width: 100%;
        }
    }
}

//**** 当屏幕小于900px时的显示*//

@media (min-width: 648px) and (max-width: 900px) {
    .content {
        width: 100%;

        .center {
            width: 100%;

            .left {
                min-width: 648px;

                .from_list {
                    .submit-form {
                        margin: 0;
                        // min-width: 600px;
                    }
                }

                .next_list ul {
                    display: flex;
                    flex-direction: column;
                }
            }

            .right {
                display: none;
            }
        }
    }
}

//**** 当屏幕小于648px时的显示*//
@media screen and (max-width: 648px) {
    .content {
        width: 100%;

        .center {
            width: 100%;

            .left {
                width: 100%;

                .from_list {
                    // width: 100%;
                    box-sizing: border-box;
                    .retest-container {
                    }

                    .submit-form {
                        margin: 0;
                    }
                }

                .next_list ul {
                    display: flex;
                    flex-direction: column;
                }
            }

            .right {
                display: none;
            }
        }
    }
}

// 添加重新测试容器的样式
.retest-container {
    text-align: center;
    padding: 40px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 0 16px #0400002e;
    margin: 20px auto;
    max-width: 600px;

    &>img {
        width: 100%;
        min-height: 128px;
        object-fit: cover;
        border-radius: 8px;
        box-shadow: 0 0 16px #0400002e;
        margin: 8px 0 3.2px
    }

    h2 {
        margin-bottom: 20px;
        font-size: 18px;
    }

    .retest-btn {
        background: #4267B2;
        color: white;
        margin: 0 auto;
        margin-top: 20px;
        display: block;
        padding: 8px 15px;
        border: none;
        border-radius: 16px;
        cursor: pointer;
        font-size: 16px;
        transition: all 0.3s ease;

        &:hover {
            background-color: #365899;
            transform: translateY(-2px);
        }
    }
}